

def ReadFromFile(iFilePath):
    words = []
    with open(iFilePath, 'r', encoding='utf-8') as inf:
        word = inf.readline()
        while word != '':
            words.append(word.strip('\n'))
            word = inf.readline()
        return words

test func
